package admin

import (
	auto "beergo/app/hr/auto/controller"
	"beergo/app/hr/conf"
	"github.com/beego/beego/v2/server/web"
)

type ProfileMainAdminController struct {
	auto.ProfileMainController
}

func init() {
	web.Router(conf.UrlPrefix + "/ProfileMain/:id", 		&ProfileMainAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/info", 		&ProfileMainAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/scan", 		&ProfileMainAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/list", 	    &ProfileMainAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/update", 	&ProfileMainAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/create", 	&ProfileMainAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/copy", 	    &ProfileMainAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/edit", 	    &ProfileMainAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/delete", 	&ProfileMainAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/:id/:field", &ProfileMainAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/choice", &ProfileMainAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/ProfileMain/category", &ProfileMainAdminController{}, "*:CategoryAction")
}
//func (this *ProfileMainAdminController) Prepare() {}
//func (this *ProfileMainAdminController) ListAction() {}
//func (this *ProfileMainAdminController) GetAction() {}
//func (this *ProfileMainAdminController) InfoAction() {}
//func (this *ProfileMainAdminController) ScanAction() {}
//func (this *ProfileMainAdminController) CreateAction() {}
//func (this *ProfileMainAdminController) UpdateAction() {}
//func (this *ProfileMainAdminController) CopyAction() {}
//func (this *ProfileMainAdminController) DeleteAction() {}
//func (this *ProfileMainAdminController) EditAction() {}
//func (this *ProfileMainAdminController) SonsAction() {}
//func (this *ProfileMainAdminController) ChoiceAction() {}
//func (this *ProfileMainAdminController) CategoryAction() {}
